<template>
	<view class="content">
		<view class="head-area">
			<img src="../../static/details/back.png" class="back" @tap="handleBack()"></img>
			<img src="../../static/logo.png" class="logo"></img>
		</view>
		<RobotData top="95" left="30"></RobotData>
		<view class="container">
			<view class="content-box">
				<view v-if="showType=='1'">
					<img src="../../static/details/gkk_aiqyjs1.png"></img>
					<img src="../../static/details/gkk_aiqyjs2.png"></img>
					<img src="../../static/details/gkk_aiqyjs3.png"></img>
					<img src="../../static/details/gkk_aiqyjs4.png"></img>
					<img src="../../static/details/gkk_aiqyjs5.png"></img>
				</view>
				<view v-if="showType=='2'">
					<img src="../../static/details/gkk_cybg1.png"></img>
					<img src="../../static/details/gkk_cybg2.png"></img>
					<img src="../../static/details/gkk_cybg3.png"></img>
					<img src="../../static/details/gkk_cybg4.png"></img>
					<img src="../../static/details/gkk_cybg5.png"></img>
				</view>
				<view v-if="showType=='3'">
					<img src="../../static/details/gkk_yyyl1.png"></img>
					<img src="../../static/details/gkk_yyyl2.png"></img>
					<img src="../../static/details/gkk_yyyl3.png"></img>
					<img src="../../static/details/gkk_yyyl4.png"></img>
				</view>
				<view v-if="showType=='4'">
					<img src="../../static/details/gkk_szww1.png"></img>
					<img src="../../static/details/gkk_szww2.png"></img>
					<img src="../../static/details/gkk_szww3.png"></img>
					<img src="../../static/details/gkk_szww4.png"></img>
					<img src="../../static/details/gkk_szww5.png"></img>
					<img src="../../static/details/gkk_szww6.png"></img>
				</view>
				<!-- <img v-if="showType=='1'" src="../../static/details/gkk_nr.png"></img> -->
				<!-- <img v-if="showType=='2'" src="../../static/details/gkk_dmx.png"></img> -->
				<!-- <img v-if="showType=='3'" src="../../static/details/gkk_ai.png"></img> -->
				<!-- <img v-if="showType=='4'" src="../../static/details/gkk_znyj.png"></img> -->
			</view>
		</view>
		<view class="bqxx">APPLICATIONS ARE HERE</view>
	</view>
</template>

<script>
	import RobotData from '@/components/robot/robot.vue';
	export default {
		components: {
			RobotData
		},
		data() {
			return {
				showType: ''
			}
		},
		onLoad(props) {
			if (props.id) {
				this.showType = props.id
			}
		},
		methods: {

			handleBack() {
				uni.navigateBack()
			}
		}
	}
</script>

<style lang="less">
	.content {
		padding-top: 200rpx;
		height: 100%;
		background: url('../../static/login_bg.jpg');
		background-size: 100% 100%;
		background-repeat: no-repeat;
		background-position: center;

		.head-area {
			padding: 0 60rpx;
			width: 100%;
			display: flex;
			justify-content: space-between;
			align-items: center;
			position: absolute;
			top: 60rpx;
			left: 0;
			z-index: 9;

			.back {
				width: 80rpx;
			}

			.logo {
				width: 240rpx;
			}
		}



		.container {
			// padding-top: 200rpx;
			overflow: auto;
			height: calc(100% - 120rpx);

			.title {
				text-align: center;
				font-size: 52rpx;
				font-weight: 600;
				color: #333;
			}

			.content-box {
				padding: 60rpx 60rpx 0;

				img {
					max-width: 100%;
					display: block;
				}
			}
		}

		.bqxx {
			width: 100%;
			position: fixed;
			bottom: 40rpx;
			text-align: center;
			font-size: 26rpx;
			color: #fff;
		}
	}
</style>